package com.css.zfzx.fwsjcj.modules.taskmanage.taskfrom.export;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.Date;

/**
 * @author leon
 * @Title:
 * @Description:
 * @date 2020/7/20 17:28
 */
@Data
@AllArgsConstructor
public class Person {
    @Excel(name = "名字", orderNum = "0", width = 10)
    private String name;
    @Excel(name = "年龄", orderNum = "1", width = 10)
    private String age;
    @Excel(name = "日期", format = "yyyy-MM-dd", orderNum = "2", width = 20)
    private Date birthday;
    @Excel(name = "性别", mergeVertical = true, replace = {"男_1", "女_0"}, orderNum = "3", width = 10)
    private Integer gender;

}
